<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>Insert title here</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>Hello, Bootstrap Table!</title>
    <meta charset="UTF-8">
    <title>Title</title>
    <script th:src="@{/js/jquery-3.2.1.min.js}"></script>
    <!-- 最新 Bootstrap4 核心 CSS 文件 -->
    <link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
    <!-- bootstrap.bundle.min.js 用于弹窗、提示、下拉菜单，包含了 popper.min.js -->
    <script rel="stylesheet" th:src="@{/js/bootstrap.bundle.min.js} "></script>
    <!-- 最新的 Bootstrap4 核心 JavaScript 文件 -->
    <script	th:src="@{/js/bootstrap.min.js}"rel="stylesheet"> </script>

    <link rel="stylesheet" href="https://cdn.bootcss.com/jquery.bootstrapvalidator/0.5.3/css/bootstrapValidator.min.css">
    <script type="text/javascript" src="https://cdn.bootcss.com/jquery.bootstrapvalidator/0.5.3/js/bootstrapValidator.min.js"></script>
    <script th:src="@{/js/functions.js}"></script>

</head>
<body>
<div class="container" id="top" th:fragment="headtop">
    <div class="row">
        <div class="col-md-12">
       <nav class="navbar navbar-inverse" role="navigation">
           <div class="container-fluid">
               <div class="navbar-header">
                   <a class="navbar-brand" href="#">MHW</a>

               </div>
               <div>
                   <ul class="nav navbar-nav">
                       <li class="active"><a th:href="@{/user/home}">首页</a></li>
                       <li><a th:href="@{/user/showMovie}">电影</a></li>
                       <li><a th:href="@{/goods/getGood}">商品</a></li>

                   </ul>
                   <ul class="nav navbar-nav navbar-right">
                       <li class="dropdown">
                           <a href="#" class="dropdown-toggle" data-toggle="dropdown"  th:value="${session._LOGIN_USER_.real_name}" th:text="${session._LOGIN_USER_.real_name}">
                               用户 <b class="caret"></b>
                           </a>
                           <ul class="dropdown-menu dropdown-menu-right">
                               <li><a href="#">登录</a></li>
                               <li><a href="#">注册</a></li>
                               <li><a th:href="@{/user/personal}">个人信息</a></li>
                               <li class="divider"></li>
                               <li><a href="#">分离的链接</a></li>
                               <li class="divider"></li>
                               <li><a th:href="@{/logout}">退出登录</a></li>
                           </ul>
                       </li>
                   </ul>
<!--                   <ul class="nav navbar-nav navbar-right">-->
<!--                       <li><a href="#"><span class="glyphicon glyphicon-user"></span> 注册</a></li>-->
<!--                       <li><a href="#"><span class="glyphicon glyphicon-log-in"></span> 登录</a></li>-->
<!--                   </ul>-->
               </div>
           </div>
       </nav>
   </div>
    </div>
</div>
</body>
</html>